hvmloader: Switch to absolute addressing for calling hypercall stubs.
authorKeir Fraser <keir@xen.org>
Wed, 20 Jul 2011 14:02:16 +0000 (15:02 +0100)
committerKeir Fraser <keir@xen.org>
Wed, 20 Jul 2011 14:02:16 +0000 (15:02 +0100)
commitf2cca23a87c7f251e2ebfcc0e4b7b8ec78a0d2c8
treea53333de286396456af8a72f07ef96aa06a2fff1
parent30191ad44fde354e821c52f334ec43118d3d6d00
hvmloader: Switch to absolute addressing for calling hypercall stubs.

This is clearer and less fragile than trying to make relative calls
work. In particular, the old approach failed if _start was not
== HVMLOADER_PHYSICAL_ADDRESS. This was the case for some modern
toolchains which reorder functions.

Signed-off-by: Keir Fraser <keir@xen.org>
tools/firmware/hvmloader/hypercall.h